const MyPromise = require('./MyPromise');

const p1 = new MyPromise((resolve, reject) => {
  resolve('成功');
});

p1.then(console.log);
